package com.login.learn.service.impl;

import com.login.learn.service.JoinCompanyService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * 抽象加入公司服务
 *
 * @author 乔巴
 * @date 2021/5/13 9:22
 **/
@Component
public abstract class AbstractJoinCompanyService{

    public void commonJoin(){
    }

    public void authPosition(){
        System.out.println("加入前，校验职位");
    }

    public void authAge(){
        System.out.println("加入前，校验年龄");
    }

    public void join(String msg){
        System.out.println(msg+"开始加入公司");
    }
}
